<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../css/style.css" />
		<style>
			.xq-tt span,#list li span{width: 25%!important;}
			/*.xq-tt span:nth-of-type(1),#list li span:nth-of-type(1){width: 50%!important;}*/	
		</style>
	</head>

	<body style="background: #fff;">
		<header class="mui-bar mui-bar-nav ding-bar">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title">我的电梯 </h1>
		</header>
		<div class="mui-content" style="background: #fff;">
		   <div class="mokuai" style="margin: 0px;">
		   	   <div>
			   	   	<span>电梯编号：</span>
			   	   	<span style="font-size: 0.3rem;color: #333333;" id="bianhao"></span>
		   	   </div>
		   	   <div>
			   	   	<span>运行状态：</span>
			   	   	<span style="font-size: 0.3rem;color: #333333;" >下行</span>
		   	   </div>
		   </div>
		   <div style="height: 0.3rem;background: #e0e6f6;"></div>
		   <div class="mokuai">
		   	   <div>
			   	   	<span>维保记录：</span>                               
			   	   <div class="xq-tt">
			   	   	    <span>日期  </span>
			   	   	    <!--<span>维保单号</span>-->
			   	   	    <span>维保类型</span>
			   	   	    <span>维保后状态</span>
			   	   	    <span>操作</span>
			   	   </div>
			   	   <ul class="xq-dt-list" id="list">
			   	   	   <li><span>2020-12-12</span> <span>维保</span><span class="zhuangtai">正常</span> <span class="zhuangtai"><a href="">查看详情</a></span></li>
			   	   	   <li><span>2020-12-12</span> <span>维保</span><span class="zhuangtai">正常</span> <span class="zhuangtai"><a href="">查看详情</a></span></li>
			   	   	   <li><span>2020-12-12</span> <span>维保</span><span class="zhuangtai">正常</span> <span class="zhuangtai"><a href="">查看详情</a></span></li>
			   	   	   <li><span>2020-12-12</span> <span>维保</span><span class="zhuangtai">正常</span> <span class="zhuangtai"><a href="">查看详情</a></span></li>
			   	   </ul>
		   	   </div>
		   </div>
		   
		</div>
		<script src="../js/mui.min.js"></script>
		<script src="../js/jquery-1.8.0.min.js"></script>
		<script type="text/javascript" src="../js/head_public.js" ></script>
		<script type="text/javascript" src="../js/common.js" ></script>
		<script type="text/javascript" src="../js/session.js" ></script>
		<script type="text/javascript">
//			mui.init()
//			var work_id=getCookie("workid");
//           var work=getCookie("work");
//           var userid=getCookie("userid");
//           if(userid==""||userid==null){
//           	alert("您还没有登录，请先登录")
//           	location.href="../public/login.html";
//           }else{
//           	var param={};
//           	param.work_id=work_id;
//           	param.member_id=userid;
//           	param.member_work=work; 
//              var eid=getQueryString("id");
//              if(eid==""||eid==null){
//              	alert("参数错误");
//              }else {
//              	param.eid=eid; 
//              	$.post(net+"/public/index.php?s=api/elevator/elevator_info/",param,function(res){
//           	   if(res.code=="200"){
//           	   	  if(res.result!=null){
//           	   	  	$("#bianhao").html(res.result.elevator_code)
//           	   	  	var str="";
//           	   	  	 $.each(res.result.list,function(index,val){
//           	   	  	 	var type="";
//           	   	  	 	if(this.type=="1"){
//           	   	  	 		var type="保养";
//           	   	  	 	}else if(this.type=="2"){
//           	   	  	 		var type="维修";
//           	   	  	 	}
//           	   	  	 	var zhuangtai="";
//           	   	  	 	if(this.status="1"){
//       	   	  	 			if(this.type=="1"){
//	             	   	  	 		zhuangtai="待保养"
//	             	   	  	 	}else if(this.type=="2"){
//	             	   	  	 		zhuangtai="待维修"
//	             	   	  	 	}
//           	   	  	 	}else if(this.status="2"){
//           	   	  	 		zhuangtai="已完成"
//           	   	  	 	}else if(this.status="-1"){
//           	   	  	 		zhuangtai="逾期"
//           	   	  	 	}
////           	   	  	 	 str+='<li> <span>'+this.addtime+'</span><span style="overflow:hidden">'+this.number+'</span> <span>'+type+'</span><span class="zhuangtai">'+zhuangtai+'</span> </li>'
//           	   	  	 	 str+='<li><span>'+this.addtime+'</span>  <span>'+type+'</span><span class="zhuangtai">'+zhuangtai+'</span> </li>'
//           	   	  	 })
//           	   	  	 $("#list").append(str)
//           	   	  	 $(".zhuangtai").each(function(){
//           	   	  	 	if($(this).html()=="待保养"){
//           	   	  	 		$(this).css("color","#40a45a")
//           	   	  	 	}else{
//           	   	  	 		$(this).css("color","red")
//           	   	  	 	}
//           	   	  	 })
//           	   	  }else{
//           	   	  	mui.toast("您还没有该工单")
//           	   	  }
//           	   }
//           	})
//              }
//           	
//           }
		</script>
	</body>

</html>